

#ifndef __KTVINCREASEID_H__
#define __KTVINCREASEID_H__

	typedef struct ktvIncreaseIDItem_s{
		UINT32 dwID;
		struct ktvIncreaseIDItem_s * lpstNextItem;
	}ktvIncreaseIDItem_t;

	class CKtvIncreaseID:public CKtvObject{

	public:	
		
	public:
		CKtvIncreaseID(UINT32 dwMinID, UINT32 dwMaxID, UINT32 dwNoneID);
		virtual ~CKtvIncreaseID();

		INT32 delIncreaseIDItems();
		INT32 delIncreaseIDItem(UINT32 dwID);
		INT32 addIncreaseIDItem(UINT32 dwID);
		UINT32 getNewIncreaseID();
	private:
		// ID
		UINT32 m_dwMinID;
		UINT32 m_dwMaxID;
		UINT32 m_dwNoneID;

		ktvIncreaseIDItem_t * m_lpstFstIDItem;
	};

#endif //#ifndef __KTVINCREASEID_H__

